Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix code enhancement #47

Closed
wants to merge 2 commits into from
Closed

Fix code enhancement #47

wants to merge 2 commits into from

Conversation

Babuprasanth27
Copy link

Fixer #30 by @babuprasanth R

Description of fixing the issue:

In the adder function of the calculator JavaScript file (cal.js), we've enhanced the logic to address an issue where the input space of the calculator was not being cleared after obtaining a result and clicking a number. The modified function now intelligently handles digit input, ensuring that the clicked number replaces the current input value and clears the input space appropriately when needed. Additionally, the function ensures that the result display behaves as expected, contributing to a more intuitive and user-friendly calculator interface.

@Babuprasanth27
Copy link
Author

Hey, I just enhanced the code, please refer to it. Have a nice day

@Babuprasanth27 Babuprasanth27 closed this by deleting the head repository Dec 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant